<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Pragma" CONTENT="no-cache">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="renderer" content="webkit">

		<%include("/common/include.html"){}%>
	</head>
	<script type="text/javascript">
	
	var submitForm = function($dialog, $grid, $tree, $pjq) {
		var $form = $("#form_1");
		$.post('${cxt!}/message/saveMessageModelAdd', sy.serializeObject($form),function(result) {
			if(result.msg==200){
				$grid.datagrid('reload');
				$.slideMsg("添加成功！", $pjq);
				$dialog.dialog('destroy');
			}else{
			 $.slideMsg("保存失败", parent.$);
			}
		});
	};
	</script>
	<body>
			<form id="form_1" method="post"  style="width:800px;margin:auto;padding-top:30px;">
				<div style="width:100%;" >
					模板类型：<input name="shortMessage.modeltype" class="easyui-textbox theme-textbox-radius" style="width:700px;height: 32px;">
				</div>
				
				<div style="width:100%;margin-top:20px;" >
					<p style="margin-left:24px;" >
						内容：<input class="easyui-textbox theme-textbox-radius" data-options="multiline:true" style="width:700px;height:150px">
					</p>
				</div>
			</form>
</body>
</html>